package com.tea.service;

import com.tea.entity.Review;
import java.util.List;

public interface ReviewService {
    int addReview(Review review) throws Exception;
    List<Review> getReviewsByProductId(Long productId) throws Exception;
    boolean hasUserReviewedProduct(Long userId, Long productId) throws Exception;
}